package com.xs.springagain2.pojo;


//import com.baomidou.mybatisplus.annotation.IdType;
//import com.baomidou.mybatisplus.annotation.TableId;
//import com.baomidou.mybatisplus.annotation.TableLogic;
//import com.baomidou.mybatisplus.annotation.Version;
//import com.itheima.springmybatisplus.enums.SexEnum;
import lombok.Data;

@Data
public class Library {
//    @TableId(value = "id", type= IdType.AUTO)
    private Integer uid;
    private String title;
    private Integer momey;
    private Integer number;

//    @Version
//    private Integer version;
//
//    @TableLogic
//    private Integer isDelete;


    @Override
    public String toString() {
        return "Library{" +
                "id=" + uid +
                ", title='" + title + '\'' +
                ", momey=" + momey +
                ", number=" + number +
                '}';
    }
}
